Skip to content

Conversation

@innovara
Copy link
Contributor

@innovara innovara commented Nov 4, 2025

This migration follows the recent migration of hr_timesheet_portal to 17.0. There is already OCA/timesheet#800 for 18.0, but that one is more of a direct drop-in of code that works in 18.0, whereas this PR includes the full commit history and therefore provides traceability of the changes. However, the contribution of its author is acknowledged, as they were added to the list of contributors in the migration to 17.0.

Speaking of which:

hr_timesheet_portal/static/src/js/hr_timesheet_portal.esm.js

  • Replaced session and bound user service with a static user import.
  • Used browser.setTimeout instead of the global setTimeout to satisfy ESLint.
  • Removed legacy this.user binding and unused imports.

hr_timesheet_portal/templates/portal.xml

  • Replaced analytic_account_id with account_id.

@hbrunn once again, would you be so kind to review it for me please?

@innovara innovara force-pushed the 18.0-mig-hr_timesheet_portal branch from 3bb6e5a to c75c3ef Compare January 28, 2026 13:23
@innovara
Copy link
Contributor Author

innovara commented Feb 1, 2026

@CRogos @BhaveshHeliconia you kindly reviewed the previous migration of this module to 17.0, so I would really appreciate it if you could also take a look at this one when you have a moment.

Copy link
Contributor

@CRogos CRogos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but shoudn't we add a suitable user group automatically to the editor group?

maybe hr_timesheet.group_hr_timesheet_user but at least base.user_admin

@innovara innovara force-pushed the 18.0-mig-hr_timesheet_portal branch from c75c3ef to ef47739 Compare February 7, 2026 12:29
innovara and others added 2 commits February 7, 2026 16:15
…syntax

- Add inheritance from group_hr_timesheet_portal to base.group_system.
- Update security XML and record rules to Odoo 18 Command syntax.

Signed-off-by: Manuel Fombuena <mfombuena@innovara.tech>
@innovara innovara force-pushed the 18.0-mig-hr_timesheet_portal branch from ef47739 to 62bd903 Compare February 7, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants